package com.example.study.service;

import com.example.study.entity.Student;
import com.example.study.entity.Teacher;

import java.util.List;

/**
 * 功能描述：
 *
 * @Author: liqiancheng
 * @Email: liqiancheng@centfor.com
 * @Date: 2020/6/4 15:46
 **/
public interface ITeacherService {

    Teacher save(Teacher teacher);

    Teacher update(Teacher teacher);

    void delete(int id);

    List<Teacher> List();
}
